﻿#region Copyright
/// <copyright>
/// Copyright (c) 2008 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace Osh
{
	public interface IWorker
	{
		string Name { get; set; }

		bool IsWorking { get; }
		void Start();
		void Stop();

		event EventHandler<ErrorEventArgs> Error;
	}
}
